package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 合作银行贷款台账报表  存档
 * @author ycz
 *
 */
@Entity
@Table(name="o2o_bank_balance")
public class O2oBankBalance implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8486181629107914834L;
	@Id
	private String id;
	@Column(name="bank_name")
	private String bankName;//银行名称
	@Column(name="all_balance")
	private BigDecimal allBalance;//全部贷款余额
	@Column(name="all_count")
	private BigDecimal allCount;//	全部贷款笔数
	@Column(name="normal_balance")
	private BigDecimal normalBalance;//正常余额
	@Column(name="normal_count")
	private BigDecimal normalCount;//正常笔数
	@Column(name="last_year_balance")
	private BigDecimal lastYearBalance;//比上年增长余额
	@Column(name="principal_overdue")
	private BigDecimal principalOverdue;//	本金逾期金额
	@Column(name="principal_count")
	private BigDecimal principalCount;//	本金逾期笔数
	@Column(name="compensatory_balance")
	private BigDecimal compensatoryBalance;//	本金代偿金额
	@Column(name="compensatory_count")
	private BigDecimal compensatoryCount;//代偿笔数
	@Column(name="create_time")
	private Date createTime;//	创建时间
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public BigDecimal getAllBalance() {
		return allBalance;
	}
	public void setAllBalance(BigDecimal allBalance) {
		this.allBalance = allBalance;
	}
	public BigDecimal getAllCount() {
		return allCount;
	}
	public void setAllCount(BigDecimal allCount) {
		this.allCount = allCount;
	}
	public BigDecimal getNormalBalance() {
		return normalBalance;
	}
	public void setNormalBalance(BigDecimal normalBalance) {
		this.normalBalance = normalBalance;
	}
	public BigDecimal getNormalCount() {
		return normalCount;
	}
	public void setNormalCount(BigDecimal normalCount) {
		this.normalCount = normalCount;
	}
	public BigDecimal getPrincipalOverdue() {
		return principalOverdue;
	}
	public void setPrincipalOverdue(BigDecimal principalOverdue) {
		this.principalOverdue = principalOverdue;
	}
	public BigDecimal getPrincipalCount() {
		return principalCount;
	}
	public void setPrincipalCount(BigDecimal principalCount) {
		this.principalCount = principalCount;
	}
	public BigDecimal getCompensatoryBalance() {
		return compensatoryBalance;
	}
	public void setCompensatoryBalance(BigDecimal compensatoryBalance) {
		this.compensatoryBalance = compensatoryBalance;
	}
	public BigDecimal getCompensatoryCount() {
		return compensatoryCount;
	}
	public void setCompensatoryCount(BigDecimal compensatoryCount) {
		this.compensatoryCount = compensatoryCount;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public BigDecimal getLastYearBalance() {
		return lastYearBalance;
	}
	public void setLastYearBalance(BigDecimal lastYearBalance) {
		this.lastYearBalance = lastYearBalance;
	}
}
